package com.csy.property.community.service;

import java.util.List;

import com.csy.property.community.domain.AjBuilding;
import com.csy.property.community.domain.AjCommunity;
import com.csy.property.community.domain.vo.RoomTree;

/**
 * @Auther: sunxx
 * @Date: 2024/4/22 - 04 - 22 - 15:41
 * @Description: com.sxx.ajcommunity.community.service
 * @version: 1.0
 */
public interface AjBuildingService {

    /*
     * 根据条件查询楼栋信息列表
     * */
    List<AjBuilding> selectBuildingList(AjBuilding ajBuilding);

    /***
     * 新增楼栋信息
     */
    int insertAjBuilding(AjBuilding ajBuilding);

    /*
     * 根据Id获取楼栋详情
     * */
    AjCommunity selectAjBuildingById(Long buildingId);

    /*
     * 修改楼栋
     * */
    int updateAjBuilding(AjBuilding ajBuilding);

    /*
     * 删除操作
     * */
    int deleteAjBuilding(Long[] buildingIds);

    /*
     * 获取楼栋下拉列表
     * */
    List<AjBuilding> queryPullDown(Long communityId);

    AjBuilding selectById(Long buildingId);

    List<RoomTree> queryPullAreaBuilding(AjBuilding ajBuilding);
}
